package com.sh_rw.label.bean;

import com.sh_rw.label.bean.LabelBean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by rw-duke on 2017/12/7.
 */

public class PackeBean extends BaseBean implements Serializable{
//    private static final long serialVersionUID  = 1L;
    private String labelType;
    private String judge;//判断
    private String infrared;//红外
    private String radar;//雷达
    private List<LabelBean> labelList = new ArrayList<>();

    public PackeBean() {
    }

    public PackeBean(int count) {
        this.labelList = new ArrayList<>(count);
    }

    public String getLabelType() {
        return labelType;
    }

    public void setLabelType(String labelType) {
        this.labelType = labelType;
    }

    public String getJudge() {
        return judge;
    }

    public void setJudge(String judge) {
        this.judge = judge;
    }

    public String getInfrared() {
        return infrared;
    }

    public void setInfrared(String infrared) {
        this.infrared = infrared;
    }

    public String getRadar() {
        return radar;
    }

    public void setRadar(String radar) {
        this.radar = radar;
    }

    public List<LabelBean> getLabelList() {
        return labelList;
    }

    public void setLabelList(List<LabelBean> labelList) {
        this.labelList = labelList;
    }

    public void addLabel(LabelBean labelBean){
        this.labelList.add(labelBean);
    }

    @Override
    public String toString() {
        return "PackeBean{" +
                "labelType='" + labelType + '\'' +
                ", judge='" + judge + '\'' +
                ", infrared='" + infrared + '\'' +
                ", radar='" + radar + '\'' +
                ", labelList=" + labelList +
                '}';
    }
}
